import request from "../../untils/request.js"


export const getFeelist = (id) => {
    return request.get(`/outpatient/feelist/${id}`)
}

export const getChargelist = (params) => {
    return request.get('/outpatient/doctoradvice/chargelist',{params})
}


export const getWestDetail = (id) => {
    return request.get(`/outpatient/rxmain/${id}`)
}

export const getChinaDetail = (params) => {
    return request.get('/outpatient/tcmrxmain/get',{params})
}

export const getOnCreditList = (params) => {
    return request.get('/outpatient/bebttype/list',{params})
}

export const addOnCredit = (data) => {
    return request.post('/outpatient/bebttype',data)
}

export const editOnCredit = (data) => {
    return request.put('/outpatient/bebttype',data)
}

export const getOnCreditById = (params) => {
    return request.get('/outpatient/bebttype/get',{params})
}

export const addConfirmPayment = (data) => {
    return request.post('/outpatient/feelist',data)
}

export const sqbPayment = (params) => {
    return request.get('/outpatient/sqb/pay',{params})
}

export const getSqbPaymentState = (params) => {
    return request.get('/outpatient/sqb/query',{params})
}

export default{

}